﻿using CampWeek5__Book_Project_.Data.Model;
using CampWeek5__Book_Project_.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CampWeek5__Book_Project_.Adapters.Interfaces
{
    public interface IBookAdapter
    {
        //anything declared on an interface MUST be public
        //but we don't have to declare it public ourselves on the interface
        IndexVM GetIndex();

        IndexVM SearchBooks(string search);

        void CreateRating(Rating model);

        BookVM CreateBook(BookVM book);

        void DeleteBook(int Id);

        BookVM AdminEditGetBook(int Id, BookVM model);

        BookVM AdminEditBook(BookVM book);

        Book FindBookByISBN(int isbn);

       
        
    }
}